package com.tubang.logistics.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.tubang.common.entity.BaseEntity;

/**
 * <p>
 * 平台竞价表
 * </p>
 *
 * @author wsl
 * @since 2018-01-15
 */
@TableName("tb_logistics_order_bidding")
public class PlatformOrderBiddingEntity extends BaseEntity<PlatformOrderBiddingEntity> {

    private static final long serialVersionUID = 1L;

	@TableField("order_id")
	private String orderId;

    /**
     * 运费 元/吨
     */
	private Double carriage;
    /**
     * 运输总费用
     */
	private Double amount;
    /**
     * 结算周期：300-预付；301-到付；302-回单付
     */
	@TableField("pay_period")
	private String payPeriod;

	/**
	 * 承运商id
	 */
	@TableField("carrier_id")
	private String carrierId;


	/**
	 * 承运商id
	 */
	@TableField("carrier_type")
	private String carrierType;


	/**
	 * 承运商 名称
	 */
	@TableField("carrier_name")
	private String carrierName;
	/**
	 * 承运商手机号
	 */
	@TableField("carrier_mobile")
	private String carrierMobile;
	/**
	 *  60003 公司  60001 司机
	 */
	@TableField("bidding_type")
	private Integer biddingType;

	/**
	 * 竞价中600 竞价成功 601 竞价失败 602
	 */
	@TableField("status_code")
	private String statusCode;
	@TableField("status_code_desc")
	private String statusCodeDesc;

	public String getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

	public String getStatusCodeDesc() {
		return statusCodeDesc;
	}

	public void setStatusCodeDesc(String statusCodeDesc) {
		this.statusCodeDesc = statusCodeDesc;
	}

	public Double getCarriage() {
		return carriage;
	}

	public PlatformOrderBiddingEntity setCarriage(Double carriage) {
		this.carriage = carriage;
		return this;
	}

	public Double getAmount() {
		return amount;
	}

	public PlatformOrderBiddingEntity setAmount(Double amount) {
		this.amount = amount;
		return this;
	}

	public String getPayPeriod() {
		return payPeriod;
	}

	public PlatformOrderBiddingEntity setPayPeriod(String payPeriod) {
		this.payPeriod = payPeriod;
		return this;
	}


	public String getCarrierId() {
		return carrierId;
	}

	public PlatformOrderBiddingEntity setCarrierId(String carrierId) {
		this.carrierId = carrierId;
		return this;
	}

	public String getCarrierMobile() {
		return carrierMobile;
	}

	public PlatformOrderBiddingEntity setCarrierMobile(String carrierMobile) {
		this.carrierMobile = carrierMobile;
		return this;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Integer getBiddingType() {
		return biddingType;
	}

	public void setBiddingType(Integer biddingType) {
		this.biddingType = biddingType;
	}

	public String getCarrierType() {
		return carrierType;
	}

	public void setCarrierType(String carrierType) {
		this.carrierType = carrierType;
	}

	public String getCarrierName() {
		return carrierName;
	}

	public void setCarrierName(String carrierName) {
		this.carrierName = carrierName;
	}

	@Override
	public String toString() {
		return "PlatformOrderBidding{" +
			"carriage=" + carriage +
			", amount=" + amount +
			", payPeriod=" + payPeriod +
			", carrierId=" + carrierId +
			", carrierMobile=" + carrierMobile +
			"}";
	}
}
